/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.fastcase.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 案件评价记录表 case_appraise_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2023年02月02日
 */
@Data
@Table(name = "upcase.case_appraise_record")
public class CaseAppraiseRecord implements Serializable {
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 评价模板id
     */
    @Column(name = "appraise_template_id")
    private String appraiseTemplateId;

    /**
     * 评价状态 1:未反馈 2:调查中 3:已完成
     */
    @Column(name = "appraise_status")
    private String appraiseStatus;

    /**
     * 评价内容
     */
    @Column(name = "appraise_content")
    private String appraiseContent;

    /**
     * 反馈内容
     */
    @Column(name = "feedback_content")
    private String feedbackContent;

    /**
     * 评价时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 反馈时间
     */
    @Column(name = "feedback_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date feedbackTime;

    /**
     * 是否存在异常 0:否 1:是
     */
    @Column(name = "is_exist_exception")
    private String isExistException;

    private static final long serialVersionUID = 1L;

}